// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsSettlementDao;
import com.liuxinlong.modules.entity.AssetsSettlement;
import com.liuxinlong.modules.mapper.AssetsSettlementMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsSettlementDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年12月13日
 */
@Service
public class AssetsSettlementDaoImpl extends ServiceImpl<AssetsSettlementMapper, AssetsSettlement> implements AssetsSettlementDao {

    @Override
    public List<AssetsSettlement> pageAssetsSettlement(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsSettlement(queryParam);
    }

    @Override
    public int getAssetsSettlementCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsSettlementCount(queryParam);
    }

    @Override
    public AssetsSettlement getAssetsSettlementByYearMonth(String year,String month) {
        return baseMapper.getAssetsBudgetByYearMonth(year,month);
    }

    @Override
    public List<AssetsSettlement> getAssetsSettlementByDate(String startDate,String endDate) {
        return baseMapper.getAssetsSettlementByDate(startDate,endDate);
    }

    @Override
    public Map<String, Map<String, String>> getAssetsSettlementMap() {
        return null;
    }
}
